﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminSite.Master" AutoEventWireup="true" CodeBehind="OrdersView.aspx.cs" Inherits="OLMS.Admin.OrdersView" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Assets/css/input.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="pure-form">
        <fieldset>
            <legend>订单管理&nbsp;&nbsp;<i class="fa fa-angle-double-right"></i>&nbsp;&nbsp;订单信息
             <asp:LinkButton ID="btnReturn" runat="server" CssClass="button-default pure-button tools-button pure-button-primary " OnClick="btnReturn_Click">返回</asp:LinkButton>
            </legend>
            <div class="pure-g order">
                <div class="pure-u-1 pure-u-md-1-2">                    
                    <asp:Label ID="lblOrderDate" runat="server" CssClass="label-input" Text="下单日期："></asp:Label>
                </div>
                <div class="pure-u-1 pure-u-md-1-2">
                    <asp:Label ID="lblUserName" runat="server" CssClass="label-input" Text="收货人："></asp:Label>
                </div>
                <div class="pure-u-1 pure-u-md-2-3">
                    <asp:Label ID="lblAddress" runat="server" CssClass="label-input" Text="收货地址："></asp:Label>
                </div>
                <div class="pure-u-1 pure-u-md-1-2">
                    <asp:Label ID="lblPostalCode" runat="server" CssClass="label-input" Text="邮政编码："></asp:Label>
                </div>
                <div class="pure-u-1 pure-u-md-1-2">
                    <asp:Label ID="lblPhone" runat="server" CssClass="label-input" Text="联系电话："></asp:Label>
                </div>
                <div class="pure-u-1 pure-u-md-1-2">
                    <asp:Label ID="lblEmail" runat="server" CssClass="label-input" Text="电子邮件："></asp:Label>
                </div>
            </div>
        </fieldset>
    </div>
    <table class="pure-table pure-table-bordered pure-table-striped">
        <thead>
            <tr>
                <th>音乐</th>
                <th>歌手</th>
                <th>单价</th>
                <th>数量</th>
                <th>小计</th>
            </tr>
        </thead>
        <tbody>
            <asp:Repeater ID="repOrderDetailList" runat="server">
                <ItemTemplate>
                    <tr>
                        <td><%# Eval("AlbumName") %></td>
                        <td><%#Eval("ArtistName") %></td>
                        <td><%#Eval("UnitPrice","{0:C}元")%></td>
                        <td><%#Eval("Quantity") %></td>
                        <td><%# Eval("TotalPrice")%></td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
            <tr>
                <td colspan="5">
                    <asp:Label ID="lblTotal" runat="server" CssClass="tools-button" Text="总计金额："></asp:Label></td>
            </tr>
        </tbody>
    </table>

</asp:Content>
